home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / bash-111.txt < prev    next >
Text File  |  1993-07-18  |  3KB  |  80 lines

  1. This is a list of user-visible changes between bash version 1.11 and the
  2. previous release, version 1.10, compiled by Chet Ramey.
  3.  
  4. The shell language
  5.  
  6.   o If redirections fail for an empty command, the command returns failure
  7.     and changes $?.  If command substitution took place while expanding the
  8.     redirections, the exit status of the command substitution becomes the
  9.     new value of $?.  Previously, $? was unchanged by empty commands.
  10.  
  11.   o `case' statement pattern lists now allow an optional leading left
  12.     parenthesis.
  13.  
  14.   o The shell grammar was changed to allow redirections before a ( ... )
  15.     subshell command.
  16.  
  17.   o Lengthy $PATH searches are now interruptible.
  18.  
  19.   o A new variable, `command_oriented_history'.  If set, the shell attempts
  20.     to store all lines of a multi-line command (e.g. a while loop or a
  21.     function definition) as a single history entry.
  22.  
  23. Shell builtins
  24.  
  25.   o `unalias' now has a -a option, which removes all alias definitions, and
  26.     recognizes `--' as the end of options.
  27.  
  28.   o If the shell is compiled with DISABLED_BUILTINS defined (look in
  29.     config.h), `builtin xxx' will find xxx even if `enable -n xxx' has
  30.     already been executed.
  31.  
  32.   o The `fc' output when listing history lines was changed to match the
  33.     Posix.2a specification.
  34.  
  35.   o `jobs' now has a -x option.  `jobs -x command args' causes the shell to
  36.     replace all job control specifications (e.g. %%, %-) in `args' with the
  37.     appropriate process group identifier and execute `command' with the new
  38.     arguments.
  39.  
  40.   o `jobs' recognizes `--' as the end of options.
  41.  
  42.   o There is a new help topic that describes some of the shell variables
  43.     that bash uses.
  44.  
  45.   o `set -b' is now equivalent to `set -o notify'.
  46.  
  47.   o `shift' now allows the shift count to be 0, like most versions of sh.
  48.  
  49.   o On machines that can set a process's maximum number of open files,
  50.     `ulimit -n newval' works as expected.
  51.  
  52. Readline
  53.  
  54.   o Dynamic history completion.  Bound to M-TAB in the emacs keymap.  This
  55.     will search the history list for completion strings for a partial
  56.     command.
  57.  
  58.   o On termios/termio machines, readline no longer unconditionally enables
  59.     8-bit input by disabling ISTRIP -- you have to run `stty -istrip' on
  60.     xterms to use the meta key.  Readline will disable ISTRIP if the tty
  61.     driver indicates that the `character size' is 8 bits:
  62.         (tio.c_cflag & CSIZE) == CS8)
  63.  
  64.     This was done to make readline usable on machines with hardwired 7-bit
  65.     terminals that put garbage in the eigth bit.
  66.  
  67.   o An attempt at completion that expands to a single item will now cause
  68.     readline to simply insert that item into the buffer, even if the previous
  69.     command was another completion.  In the last release, completion
  70.     immediately following completion caused readline to list the possible
  71.     completions.
  72.  
  73.   o The `call-last-kbd-macro' function is now bindable.
  74.  
  75.   o Readline binds tio.c_cc[VLNEXT] to rl_quoted_insert and tio.c_cc[VWERASE]
  76.     to rl_unix_word_rubout on Posix termios systems that support them.
  77.  
  78.   o Readline now uses tio.c_cc[VEOF] as the EOF character on termios systems
  79.  
  80.